package entity;

public class Message {
	//private int userid;
	private int placeid;
	private String placeName;
	private String description;
	private double longitude;
	private double latitude;
	public Message(int id, int userid, int placeid, String placeName) {
		super();
		//this.userid = userid;
		this.placeid = placeid;
		this.placeName = placeName;
	}
	
	public Message(int placeid, String placeName, String description,
			double longitude, double latitude) {
		this.placeid = placeid;
		this.placeName = placeName;
		this.description = description;
		this.longitude = longitude;
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongtitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public Message(int id, int userid, int placeid, String placeName,String description) {
		super();
		//this.userid = userid;
		this.placeid = placeid;
		this.placeName = placeName;
		this.description=description;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getPlaceid() {
		return placeid;
	}
	public void setPlaceid(int placeid) {
		this.placeid = placeid;
	}
	public String getPlaceName() {
		return placeName;
	}
	public void setPlaceName(String placeName) {
		this.placeName = placeName;
	}
	public Message(){}
}
